package com.bigShen.use;

import com.bigShen.mybatis.session.SqlSessionShen;
import com.bigShen.use.dao.UserInfoMapper;
import com.bigShen.use.entity.UserInfo;

/**
 * @Author eddy.shen
 * @Date 2018/12/8 21:06
 **/
public class MyBatisShenMain {


    public static void main(String[] args) {

        // build resources
        SqlSessionShen sqlSession = new SqlSessionShen();
        UserInfoMapper userInfoMapper = sqlSession.getMapper(UserInfoMapper.class);
        UserInfo userInfo = userInfoMapper.selectUserByName("王林见");
        System.out.println(userInfo);

    }


}
